package hbec.kettle.etl.plugins.core;

import org.pentaho.di.core.KettleEnvironment;
import org.pentaho.di.core.exception.KettleException;

public class PluginEnvironment {
	/**
	 * 初始化Kettle引擎环境
	 * @throws KettleException
	 */
	public static synchronized void init() throws KettleException {
		synchronized(PluginEnvironment.class) {
			if (!KettleEnvironment.isInitialized())
				KettleEnvironment.init();
		}
	}
}
